home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Inside Macintosh / IM—Processes / IM—Processes.rsrc / IDX#_1000 < prev    next >
Encoding:
Text File  |  1994-04-27  |  13.6 KB  |  33 lines

  1. |SymbolsABCDEFGHIJKLMNOPQRSTUVWXYZ'SIZE' resource type,specifying partition size[SIZE resource typespecifying partition size]specifying partition size] A5 registersetting in interrupt taskssetting in Time Manager tasksA5 worldand context switcheshow the Process Manager createsactive application/allocating or moving memory, in interrupt tasksapplication heap&application partitions. See partitionsapplication stackbackground processesbackground-only applicationcanBackground flagcontext of a processand interrupt tasksdefined    switching$cooperative multitasking environmentcurrent processCurrentA5 global variabledesktopdialog boxes, movable modaldisabled interruptsEventAvail functioneventsresumesuspend
  2. exceptionsforeground processdefinedGetCurrentProcess functionGetNextEvent functioninterrupt handlersinterrupt priority levelsinterrupt tablesinterrupt tasksaccessing global variablesallocating or moving memoryand application contextand the A5 worldand virtual memory"calling routines in other segmentsguidelines for usingpreserving registers
  3. scheduling ofunloading code segmentsusing locked handlesinterrupt vectors
  4. interrupts jump tables(locked handles, using in interrupt tasksmajor switchesminor switches MultiFindermultitasking environment null eventsonlyBackground flagoperating-system queues
  5. partitionscreated by Process ManagerdefinedProcess Managercontext switchescreating processesscheduling processesprocess serial numbers    processes
  6. background
  7. context ofcreatingcurrent
  8. foreground
  9. schedulingprocessor priority(registers, preserving in interrupt tasksresource types'SIZE'[resource typesSIZE]SIZE]
  10. scheduling#of processes by the Process Managersetting optionsswitching contextsservicing interruptsSlotVInstall function
  11. persistentstacksuspend eventsswitching process contextstasks. See interrupt tasks    VBL tasks
  12. scheduling
  13. vector tablesVInstall function
  14. introduced#virtual memory, and interrupt tasksWaitNextEvent functionWakeUpProcess functionFsetting termination flags[SIZE resource typesetting termination flags]%_Launch trap macro[Launch trap macro]acceptAppDied constant Apple eventsApplication DiedApplication Died Apple eventapplication parameters record applications    launching terminatingAppParameters data type+default directory, set by LaunchApplicationdesk accessories    launching.See also Apple eventsExitToShell procedureusing to terminate applicationsGestalt function(testing for Process Manager availabilityGetFrontProcess functionGetNextProcess functionGetProcessInformation functionisHighLevelEventAware flaglaunch parameter blockLaunchApplication functionLaunchDeskAccessory function    launching applicationsdesk accessoriesoptionsLaunchParamBlockRec data typeOpenDeskAcc functionopening. See launching$finding the available free memory inprocess information record constants indata structures indefined#getting information about processeslaunching applicationslaunching desk accessories routines interminating processestesting for availabilityconstants used to identifygetting information about terminatingProcessInfoRec data typeProcessSerialNumber data typeSIZE]SameProcess functionSetFrontProcess functionterminating applicationszzacceptAppDied constantzzeventRefCon fieldzzextendedBlock constantzzextendedBlockLen constant!zzgestaltLaunchCanReturn constantzzgestaltLaunchControl constant$zzgestaltLaunchFullFileSpec constantzzgestaltOSAttr constantzzhighLongOfPSN fieldzzkCurrentProcess constantzzkNoProcess constantzzkSystemProcess constantzzlaunchAppParameters fieldzzlaunchAppSpec fieldzzlaunchAvailableSize fieldzzlaunchBlockID fieldzzlaunchContinue constantzzlaunchControlFlags fieldzzlaunchDontSwitch constantzzlaunchEPBLength fieldzzlaunchFileFlags fieldzzlaunchInhibitDaemon constantzzlaunchMinimumSize fieldzzlaunchNoFileFlags constantzzlaunchPreferredSize fieldzzlaunchProcessSN fieldzzlaunchUseMinimum constantzzlowLongOfPSN fieldzzmessageBuffer fieldzzmessageLength fieldzzmode32BitCompatible constantzzmodeCanBackground constantzzmodeDeskAccessory constant%zzmodeDoesActivateOnFGSwitch constantzzmodeGetAppDiedMsg constantzzmodeGetFrontClicks constant"zzmodeHighLevelEventAware constant%zzmodeLocalAndRemoteHLEvents constantzzmodeMultiLaunch constant zzmodeNeedSuspendResume constantzzmodeOnlyBackground constantzzmodeStationeryAware constant"zzmodeUseTextEditServices constantzzprocessActiveTime fieldzzprocessAppSpec fieldzzprocessFreeMem fieldzzprocessInfoLength fieldzzprocessLaunchDate fieldzzprocessLauncher fieldzzprocessLocation fieldzzprocessMode fieldzzprocessName fieldzzprocessNumber fieldzzprocessSignature fieldzzprocessSize fieldzzprocessType fieldzzreserved1 fieldzzreserved2 fieldzztheMsgEvent field('CODE' resource type[CODE resource type]#A/UX, modifying code segments under A1 registerand the Time Managerand the Time Managercode, self-modifyingdelayed execution+drift-free, fixed-frequency timing serviceselapsed times, computingfixed-frequency timing services
  15. drift-freedrifting)future execution, scheduling routines for testing for Time Manager versionglobal variablesin Time Manager tasksInsTime procedureInsXTime procedureinterrupt latency+periodic execution, scheduling routines forprimePrimeTime procedure
  16. introducedwith extended Time Managerwith global variableswith periodic taskswith revised Time Managerqueues Time Manager'CODE'[resource typesCODE]CODE]
  17. introducedusing to compute elapsed timesroutines for future executionsegmentsself-modifyingself-modifying codeSetA5 functionSetCurrentA5 functionsynchronizing actions time delays microseconds milliseconds Time Managerapplication-defined routines indata structures indelaysextendedoriginalqueues. See Time Manager queuesrevised routines in+task records. See Time Manager task recordstasks. See Time Manager taskstesting for versionTime Manager queuesTime Manager task recordsextendedoriginal and revisedTime Manager tasks
  18. activating
  19. installingperiodic reactivatingremovingstructure of recordsusing global variables inTMTask data type!zzgestaltExtendedTimeMgr constant zzgestaltRevisedTimeMgr constant!zzgestaltStandardTimeMgr constant zzgestaltTimeMgrVersion constant
  20. zzqLink field
  21. zzqType fieldzztmAddr fieldzztmCount fieldzztmReserved fieldzztmWakeUp field A0 register and the Vertical Retrace Managersetting in VBL tasks and the Vertical Retrace ManagerAttachVBL functionCrsrBusy global variablecursorsanimation with VBL taskschanging at interrupt timejerky movementupdating of positiondisk access, delaying VBL tasks disk-inserted events, posting ofDoVBLTask functionpatching to remove VBL tasksGetVBLQHdr functionaccessing from VBL tasksembedding in VBL task records0interrupts, VBL. See vertical retrace interruptsinVBL global constantjDoVBLTask global variablekeyboards, resetting ofmouse-down events, posting ofmouse-up events, posting of&Operating System, installing VBL taskspersistent VBL tasksprimary video devicechangingdetermining slot number
  22. resume eventsScrnVBLPtr global variable.SetCursor procedure, calling at interrupt time#slot number of primary video devicechangingfinding/slot-based VBL tasks. See VBL tasks, slot-basedtesting for availabilitySlotVRemove functionspinning cursors
  23. stack sniffer3system-based VBL tasks. See VBL tasks, system-based"Ticks global variable, updating ofVBL task records A0 registeraccessing at interrupt timedefinedembedding in other recordsaccessing global variablesand application executionand process terminationand virtual memorycausing system crashesdefineddisabled by the Process Manager disabling during a suspend eventenabling during a resume eventexecuting immediatelyexecution order
  24. installinglimitations on#missing vertical retrace interrupts
  25. persistentdefined
  26. installingdefined
  27. installing
  28. installing reenabled by the Process Manager reexecuting
  29. slot-basedremovingdefined
  30. installingremoving
  31. installingremovingstoppingsynchronizing with screen system-baseddefined
  32. installingdefined
  33. installingremoving
  34. installingremoving    timing ofturning off debugging code fortypes ofusing instead of SlotVInstallVRemove functionzzqFlags fieldzzvblAddr fieldzzvblCount fieldzzvblPhase fieldzzvType constantd'INIT' resource type, making notification requests[INIT resource type, making notification requests]('snd ' resource type[snd  resource type]3setting in Notification Manager response proceduresand the Notification Manager.alert boxes, displayed by Notification Manageralert notificationsApple menu, blinking icon andApplication menublinking icon indiamond-shaped mark inaudible notifications5background applications, making notification requests.background tasks, making notification requestsblinking icon in menu bar,device drivers, making notification requests'diamond-shaped mark in Application menucalling Notification Manager-testing for Notification Manager availabilitymenu bar, blinking icon inNMInstall functionNMRec data typeNMRemove functionNotification Managerapplication-defined routines inmultiple requestsresponse procedures routines insuggested notification strategytesting for availabilitytypes of notificationsuse by foreground applicationsnotification queuedefinedinstalling entries inremoving entries fromnotification recordsdefined
  35. setting upnotification requestscreating
  36. installingremoving notification response procedures
  37. notificationsdefinedtypes ofpolite notifications$notification. See notification queue'INIT'[resource typesINIT]INIT]'snd '[resource typessnd ]snd ]sounds, as notification*system alarm, making notification requestssystem alert soundsmaking notification requestsmaking notification requestszznmFlags fieldzznmIcon fieldzznmMark fieldzznmPrivate fieldzznmRefCon fieldzznmReserved fieldzznmResp fieldzznmSound field
  38. zznmStr fieldzznmType constantobtaining value ofDeferred Task Managerapplication-defined routines indata structures indefining a deferred task(defining a task that defers another task routines intypes of tasks useful fordeferred task queuesdeferred task recorddeferred tasksDeferredTask data typeDTInstall functionDTQueue global variablein deferred tasks%executing when interrupts are enabledside effects of lengthy tasksjDTInstall global variablezzdtAddr fieldzzdtFlags fieldzzdtParm fieldzzdtQType constantzzdtReserved field_Debugger trap[Debugger trap]_LoadSeg trap[LoadSeg trap]code segments. See segmentsCurJTOffset global variableexternal reference(grow-zone functions, in a locked segment1initialization routines, in an unloadable segmentin a locked segmentjump table entriesdefinedfor loaded segmentsfor unloaded segmentsloading segmentsLoadTrap global variable$main event loop, in the main segment main segmentSegHiEnable global variablesegment headers#Segment Loader. See Segment ManagerSegment Manager
  39. routine inusing to load segmentsusing to unload segmentsdefinedguidelines for creatingloading    unloadingunloading code segmentsUnloadSeg procedure@'FNDR' signature, use with AECreateDesc function[FNDR signature]?'mst#' resource type, use with Quit command[mst# resource type]?'mstr' resource type, use with Quit command[mstr resource type]FAECreateAppleEvent function, creating a Shutdown or Restart event with7AECreateDesc function, specifying address of the Finder3AEDisposeDesc function, disposing of Finder address9AESend function, sending a Shutdown or Restart event withdisposing of sent eventMultiFinder cannot sendprocedure for sendingQuit ApplicationRestartShutdownclosing before shutdown(Control function, called by ShutDwnPower3custom shutdown procedures. See shutdown procedures-checking for open accessories before shutdown"desk scrap, saving before shutdownDevice Manager'Control function called by ShutDwnPower"unit table checked by ShutDwnPowerdrivers)checking for open drivers before shutdown%reasons for using shutdown proceduressending good-bye message to#when closed during shutdown process&Eject function, called by ShutDwnPower5File Manager, unmounting volumes with during shutdownFinder event class$sending Shutdown or Restart event togood-bye messagedefinedrequested by driversent to indicate shutdownsent when application quitsopen applicationsavoiding abrupt termination ofprocedure for closing.closing open applications with during shutdownQuit Application eventQuit command (File menu)'mst#'[resource typesmst#]mst#]'mstr'[resource typesmstr]mstr]Restart event ID!restart steps. See shutdown steps9Scrap Manager, saving the desk scrap with during shutdown Shut Down command (Special menu)Shutdown eventShutdown event IDShutdown Managerapplication-defined routines in
  40. constants forinstalling a shutdown procedure methods for turning off computerremoving a shutdown procedure routines insending Apple events to Findershutdown stepsshutdown procedures$flags for specifying execution times
  41. installinginstalling in system heap
  42. introduced problems with applications usingremoving when removed from shutdown queueshutdown queueshutdown stepschecking for custom procedureschecking for open drivers closing open applications beforesaving the desk scrapunmounting volumesShutDwnInstall procedureShutDwnPower procedurecalled by Finder%calls Device Manager Control functionproblems with direct calls toShutDwnRemove procedureShutDwnStart procedurecalled by Finderproblems with direct calls to,system extensions, using shutdown procedures%turning off the computer, methods forUnloadScrap function+unmounting volumes, during shutdown process+UnmountVol function, called by ShutDwnPower+volumes, unmounting during shutdown processzzsdOnDrivers constantzzsdOnPowerOff constantzzsdOnRestart constantzzsdOnUnmount constantzzsdRestartOrPower constant